package com.oocl.hw1.task1.pojo;

/**
 * 统计结果
 * @author WUJA13
 *
 */
public class AnalyzeRes {
	public int countNumber = 0;
	public int countAlphabat = 0;
	public int countEnglishPunctuation = 0;
	public int countChinesePunctuation = 0;
	public int countChineseCharacter = 0;
	
	
	@Override
	public String toString() {
		StringBuilder sb =new StringBuilder();
		sb.append("字母个数：")
		.append(countAlphabat).append("\n")
		.append("数字个数：")
		.append(countNumber).append("\n")
		.append("英文标点个数：")
		.append(countEnglishPunctuation).append("\n")
		.append("中文标点个数：")
		.append(countChinesePunctuation).append("\n")
		.append("汉字个数：")
		.append(countChineseCharacter);
		return sb.toString();
	}
}
